package com.whmnx.main.ui.activity;

import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.whmnx.base.router.RouterActivityPath;
import com.whmnx.main.BR;
import com.whmnx.main.R;
import com.whmnx.main.databinding.ActivityPersonal2Binding;
import com.whmnx.main.ui.model.PersonalModel2;

import me.goldze.mvvmhabit.base.BaseActivity;


/**
 * author : huang
 * date   : 2020/10/26 0026 16:17
 * version: 1.0
 * @author Administrator
 */
@Route(path = RouterActivityPath.Main.PESON)
public class PersonalActivity2 extends BaseActivity<ActivityPersonal2Binding, PersonalModel2> {
    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.activity_personal2;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initData() {
        super.initData();
        viewModel.initToolbar(this,binding);
    }
}
